<template>
  <div>
    <h2>{{ msgTitle }}</h2>
    <span>{{ msgTime }}</span>
    <br />
    <br />
    <span>{{ msgContent }}</span>
  </div>
</template>

<script>
import { GetSupplierManagementById } from "@/api/systemSet/MessageCenter";
export default {
  data() {
    return {
      msgTitle: "",
      msgContent: "",
    };
  },
  created() {
    this.GetSupplierManagementById();
  },
  methods: {
    GetSupplierManagementById() {
      var params = {
        id: this.$route.query.id,
        msgTitle: this.msgTitle,
        msgContent: this.msgContent,
        msgType: "",
        msgState: "",
        msgTime: "",
      };
      GetSupplierManagementById(params).then((res) => {
        console.log(this.msgTitle);
        this.msgTitle = res.data.data.msgTitle;
        this.msgContent = res.data.data.msgContent;
        this.msgTime = res.data.data.msgTime;
      });
    },
  },
};
</script>

<style>
</style>